package com.alarm.ecp.pojo;

public class DeviceData {
    /**
     * 设备ID
     */
    public String __deviceId__;
    /**
     * 机号
     */
    public String serial_no;
    /**
     * 物模型ID
     */
    public String __deviceTypeId__;
    /**
     * 物标识ID
     */
    public String __assetId__;
    /**
     * 行政区域
     */
    public String _area_code;
    /**
     * 记录更新时间
     */
    public String _hx_update_time;
    /**
     * 经度
     */
    public Double latitude;
    /**
     * 纬度
     */
    public Double longitude;
    /**
     * 速度
     */
    public Integer engine_speed;
    /**
     * 上报时间
     */
    public Long receive_time;
    /**
     * 时间戳
     */
    public Long __timestamp__; // 上报时间（毫秒）

    public DeviceData(String __deviceId__, String serial_no, String __deviceTypeId__, String __assetId__, String _area_code, String _hx_update_time, Double latitude, Double longitude, Integer engine_speed, Long receive_time, Long __timestamp__) {
        this.__deviceId__ = __deviceId__;
        this.serial_no = serial_no;
        this.__deviceTypeId__ = __deviceTypeId__;
        this.__assetId__ = __assetId__;
        this._area_code = _area_code;
        this._hx_update_time = _hx_update_time;
        this.latitude = latitude;
        this.longitude = longitude;
        this.engine_speed = engine_speed;
        this.receive_time = receive_time;
        this.__timestamp__ = __timestamp__;
    }

    public String get__deviceId__() {
        return __deviceId__;
    }

    public void set__deviceId__(String __deviceId__) {
        this.__deviceId__ = __deviceId__;
    }

    public String getSerial_no() {
        return serial_no;
    }

    public void setSerial_no(String serial_no) {
        this.serial_no = serial_no;
    }

    public String get__deviceTypeId__() {
        return __deviceTypeId__;
    }

    public void set__deviceTypeId__(String __deviceTypeId__) {
        this.__deviceTypeId__ = __deviceTypeId__;
    }

    public String get__assetId__() {
        return __assetId__;
    }

    public void set__assetId__(String __assetId__) {
        this.__assetId__ = __assetId__;
    }

    public String get_area_code() {
        return _area_code;
    }

    public void set_area_code(String _area_code) {
        this._area_code = _area_code;
    }

    public String get_hx_update_time() {
        return _hx_update_time;
    }

    public void set_hx_update_time(String _hx_update_time) {
        this._hx_update_time = _hx_update_time;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Integer getEngine_speed() {
        return engine_speed;
    }

    public void setEngine_speed(Integer engine_speed) {
        this.engine_speed = engine_speed;
    }

    public Long getReceive_time() {
        return receive_time;
    }

    public void setReceive_time(Long receive_time) {
        this.receive_time = receive_time;
    }

    public Long get__timestamp__() {
        return __timestamp__;
    }

    public void set__timestamp__(Long __timestamp__) {
        this.__timestamp__ = __timestamp__;
    }

    @Override
    public String toString() {
        return "DeviceData{" +
                "__deviceId__='" + __deviceId__ + '\'' +
                ", serial_no='" + serial_no + '\'' +
                ", __deviceTypeId__='" + __deviceTypeId__ + '\'' +
                ", __assetId__='" + __assetId__ + '\'' +
                ", _area_code='" + _area_code + '\'' +
                ", _hx_update_time='" + _hx_update_time + '\'' +
                ", latitude=" + latitude +
                ", longitude=" + longitude +
                ", engine_speed=" + engine_speed +
                ", receive_time=" + receive_time +
                ", __timestamp__=" + __timestamp__ +
                '}';
    }
}